﻿using Newtonsoft.Json;

namespace FeiShu.Entity.Adapter.FeiShuWork
{
    public class UserAccessTokenRequest
    {
        /// <summary>
        /// 授权类型，本流程中，此值为："authorization_code"
        /// </summary>
        [JsonProperty("grant_type")]
        public string grant_type { get; set; }

        /// <summary>
        /// 来自请求身份验证流程，用户扫码登录后会自动302到redirect_uri并带上此参数
        /// </summary>
        [JsonProperty("code")]
        public string code { get; set; }
    }
}
